package com.lxy.staff.model;

import lombok.Data;

@Data
public class Dept {
    private Integer deptno;

    private String dname;

    private String loc;
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", deptno=").append(deptno);
        sb.append(", dname=").append(dname);
        sb.append(", loc=").append(loc);
        sb.append("]");
        return sb.toString();
    }
}